demos: No need to set the rgb colormap here
authorBenjamin Otte <otte@redhat.com>
Tue, 13 Jul 2010 15:14:14 +0000 (17:14 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 26 Jul 2010 14:42:48 +0000 (16:42 +0200)
demos/testpixbuf-color.c

index 78fa93928972b88f2cdd0845a362a839961b4f51..003f33384974ea68842002568f650c4e0efe62cf 100644 (file)
@@ -111,8 +111,6 @@ main (int argc, char **argv)
 
        gtk_init (&argc, &argv);
 
-       gtk_widget_set_default_colormap (gdk_rgb_get_colormap ());
-
        root = gdk_get_default_root_window ();
        pixbuf = gdk_pixbuf_get_from_drawable (NULL, root, NULL,
                                               0, 0, 0, 0, 150, 160);